home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="Internet\Internet Information Server"
- "NAME"="Admin Information"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Name"
- "TEXT 2"="EMail"
- "DESCRIPTION 1"="Use this plug-in to change the information of the administrator of this server."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.1"
-
-
- sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
- Sub Plugin_Initialize
- if RegPathExists(sp) then
- s=RegReadValue(sp&"AdminName")
- SetUIElement 1,s
-
- s=RegReadValue(sp&"AdminEmail")
- SetUIElement 2,s
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sp&"AdminName",s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sp&"AdminEmail",s,1)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-